Computer and Modernization ›› 2012, Vol. 1 ›› Issue (9): 170-173.doi: 10.3969/j.issn.1006-2475.2012.09.043

• 算法分析与设计 • Previous Articles     Next Articles

Application of Harmony Search Algorithm in Combinatorial Test Case Generation

LI Jin-hua1, YANG Yong-li2, XING Dan-dan1   

  1. 1. College of Information Engineering, Qingdao University, Qingdao 266071, China;2. Unit 91999 of PLA, Qingdao 266003, China
  • Received:1900-01-01 Revised:1900-01-01 Online:2012-09-21 Published:2012-09-21

Abstract: A complex software system is usually affected by a lot of factors. Their interactions complicate the system behavior and cause various faults. It is impossible to exhaustively test all the interactions. Combinatorial testing uses a small number of test cases to guarantee the test quality by considering the factors different influence on systems. The paper proposes a novel method of test suite generation based on harmony search algorithm. The method solves the key issues of N-way combinatorial coverage and variable-strength combinatorial coverage. The experiments demonstrate the effectiveness of the method.

Key words: harmony search, combinatorial testing, test suite, N-way interaction, covering array